package com.weixin.paleituo.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Author yichao
 * Time  2018/3/23 17:20
 * Dest  ${TODO}
 */

public class CouponsSignBean implements Parcelable{
    /**
     * coupon : 1
     * couponName : 建国中心3000元优惠券
     * couponType : 家装
     * couponstate : 1
     * illustrate : 建国中心
     * money : 1000
     * validTime : 2018-03-17至2018-06-25
     */

    private String coupon;
    private String couponName;
    private String couponType;
    private int couponstate;
    private String illustrate;
    private int money;
    private String validTime;
    private String account;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getCoupon() {
        return coupon;
    }

    public void setCoupon(String coupon) {
        this.coupon = coupon;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public int getCouponstate() {
        return couponstate;
    }

    public void setCouponstate(int couponstate) {
        this.couponstate = couponstate;
    }

    public String getIllustrate() {
        return illustrate;
    }

    public void setIllustrate(String illustrate) {
        this.illustrate = illustrate;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getValidTime() {
        return validTime;
    }

    public void setValidTime(String validTime) {
        this.validTime = validTime;
    }

    public CouponsSignBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.coupon);
        dest.writeString(this.couponName);
        dest.writeString(this.couponType);
        dest.writeInt(this.couponstate);
        dest.writeString(this.illustrate);
        dest.writeInt(this.money);
        dest.writeString(this.validTime);
        dest.writeString(this.account);
    }

    protected CouponsSignBean(Parcel in) {
        this.coupon = in.readString();
        this.couponName = in.readString();
        this.couponType = in.readString();
        this.couponstate = in.readInt();
        this.illustrate = in.readString();
        this.money = in.readInt();
        this.validTime = in.readString();
        this.account = in.readString();
    }

    public static final Creator<CouponsSignBean> CREATOR = new Creator<CouponsSignBean>() {
        @Override
        public CouponsSignBean createFromParcel(Parcel source) {
            return new CouponsSignBean(source);
        }

        @Override
        public CouponsSignBean[] newArray(int size) {
            return new CouponsSignBean[size];
        }
    };
}
